Global Index
HTML5 JS API Index > File System API Tutorials & Specs

DirectoryEntrySync

Extends EntrySync.

This interface represents a directory on a file system.

Operations
DirectoryReaderSync
createReader()
Creates a new DirectoryReaderSync to read EntrySyncs from this DirectorySync.
DirectoryEntrySync
getDirectory(DOMString path, optional Flags options)
Creates or looks up a directory.
FileEntrySync
getFile(DOMString path, optional Flags options)
Creates or looks up a file.
void
removeRecursively()
Deletes a directory and all of its contents, if any. In the event of an error [e.g. trying to delete a directory that contains a file that cannot be removed], some of the contents of the directory may be deleted. It is an error to attempt to delete the root directory of a filesystem.
Referenced by
EntrySyncmoveTo(...)
FileSystemSyncroot